package com.education.service;

import java.util.List;

/**
 * Created by zhangjiawen on 2019/11/20.
 */
public interface BaseDao<T,K> {
    public List<T> getAll();

    /**
     * 根据条件查询
     * @return
     */
    public List<T> getByCondition(K k);
}
